package MsgPackage;

/**
 * @author Omri Barda		039725890 
 * @author Amit Joseph		034608547
 * @author Gilad Shpigel  	300162393
 * @author Elad Elbaz		040539959
 * @version June 2012
 */

import entities.ComputerizedExam;

public class ApproveGradePack extends MessagePack {
	private static final long serialVersionUID = 1L;
	private ComputerizedExam cmptExam;

	/**
	 * constructor
	 * 
	 * @param cmptExam
	 */
	public ApproveGradePack(ComputerizedExam cmptExam) {
		this.op = OpType.ApproveGrade;
		this.cmptExam = cmptExam;
	}

	/**
	 * @param cmptExam
	 *            the cmptExam to set
	 */
	public void setCmptExam(ComputerizedExam cmptExam) {
		this.cmptExam = cmptExam;
	}

	/**
	 * 
	 * @return the computerized exam to approve
	 */
	public ComputerizedExam getCmptExam() {
		return cmptExam;
	}
}
